package com.samsung.dao.lottery;

import java.util.List;

import com.samsung.dto.lottery.ItemResultDto;
import com.samsung.model.lottery.LotteryRecord;

public interface LotteryRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(LotteryRecord record);

    int insertSelective(LotteryRecord record);

    LotteryRecord selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(LotteryRecord record);

    int updateByPrimaryKey(LotteryRecord record);

	int getRecordCount(String lotteryId);

	List<ItemResultDto> listRecordByEvent(String lid);

	void deleteByLid(String lid);
}